package com.itmei.sms.enums;

/**
 * @Author itmei
 * @Date 2023/2/7 13:43
 * @description: 发送短信状态
 * @Title: SmsSendStatusEnum
 * @Package com.itmei.sms.enums
 */
public enum SmsSendStatusEnum {
    WAITING(0, "未发送"),
    SUCCESS(1, "发送成功"),
    FAILED(2, "发送失败"),
    INVALID(3, "失效");

    private final Integer code;
    private final String message;

    private SmsSendStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
